package ooday05;
/** 简化版季节枚举类*/
public enum Seasons {
    /* 底层是：
     public static final Seasons SPRING = new Seasons();
     public static final Seasons SUMMER = new Seasons();
     public static final Seasons AUTUMN = new Seasons();
     public static final Seasons WINTER = new Seasons();*/
    SPRING,SUMMER,AUTUMN ,WINTER; //表示Seasons类中包含4个对象，都是常量

}
